<?php
$title = 'gA- Iniciar sesión';
$this->headTitle($title);
?>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <h3><p class="text-center">¡Qu&eacute; bueno que regresaste!</p></h3>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span10 offset1">
            <div class="well site-form">
                <form method="post" enctype="application/x-www-form-urlencoded"
                      action="<?php echo $this->url('site', array('action' => 'sign-in')); ?>"
                      class="form-horizontal">
                    <fieldset>
                        <legend>Ingres&aacute; tus datos: </legend>
                        <div class="control-group">
                            <label class="control-label" for="username">Usuario</label>

                            <div class="controls">
                                <input type="text" name="username" maxlength="10" class="input-block-level"
                                       placeholder="Usuario" required="">
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="password">Pase</label>

                            <div class="controls">
                                <input name="password" type="password" maxlength="15" class="input-block-level"
                                       placeholder="Pase" required="">
                            </div>
                        </div>
                    </fieldset>
                    <?php
                    if ($this->message)
                        echo '<div class="alert alert-error">' . $message . '</div>';
                    ?>
                    <div class="form-actions">
                        <button type="submit" class="btn btn-primary">Ingresar</button>
                    </div>
                </form>
            </div>
            <div style="text-align:center;" class="muted">¿Sos nuevo? Cre&aacute; tu usuario <a
                    href="<?php echo $this->url('site', array('action' => 'sign-up')); ?>">aqu&iacute;</a>
            </div>
        </div>
    </div>
</div>